﻿<?php
if(!isset($_REQUEST['action'])){
	$_REQUEST['action'] = 'demandeConnexion';
}
$action = $_REQUEST['action'];
switch($action){
    case 'cv' :{
            include('./vues/v_gestionCV.php');
            break;
    }
    case 'visualiser' :{
            include('./vues/v_visualisationCV.php');
            break;
    }
    case 'ajouter' :{
            include('./vues/v_ajouterCV.php');
            break;
    }
    case 'modifier' :{
            include('./vues/v_modifierCV.php');
            break;
    }
    case 'supprimer' :{
            include('./include/supprCV.php');
            break;
    }
    case 'experience_prof' :{
            include('./vues/v_experience_profCV.php');
            break;
    }
    case 'formation' :{
            include('./vues/v_formationCV.php');
            break;
    }
    case 'informatique' :{
            include('./vues/v_informatiqueCV.php');
            break;
    }
    case 'centre_interet' :{
            include('./vues/v_interetCV.php');
            break;
    }
    case 'langue' :{
            include('./vues/v_langueCV.php');
            break;
    }
    case 'photo' :{
            include('./vues/v_photoCV.php');
            break;
    }
    case 'exporterPDF' :{
            include('./vues/v_exporterPDFCV.php');
            break;
    }
    default:
        include('./vues/v_gererLesCV.php');

        break;
}
?>